package cn.sunlelin.educationserver.service;

import cn.sunlelin.educationserver.entity.Chapter;

import java.util.List;

public interface ChapterService {
    public Boolean createChapter(Chapter chapter);
    public Boolean updateChapter(Chapter chapter);
    public Chapter selectChapterById(Integer chapterId);
    public List<Chapter> selectChapterByCourseId(Integer courseId);
    public Boolean deleteChapter(Integer chapterId);
}
